package component
{
	public class DisplayLabel
	{
		public var Text:String;
		public var Top:int;
		public var Bottom:int;
		public var Left:int;
		public var Right:int;
		public var FontSize:int;
		public var Color:int;
		public var TextAlign:String;
		public var FontWeight:String;
		public var ClickParam:Object;
		public var BackgroundColor:int;
		
		public function DisplayLabel(text:String, top:int=-1,right:int=-1,bottom:int=-1, left:int=-1, fontSize:int=-1,color:int=-1,backgroundColor:int=-1,fontWeight:String=null,textAlign:String=null,clickParam:Object=null)
		{
			this.Text = text;
			this.Top = top;
			this.Bottom = bottom;
			this.Left = left;
			this.Right = right;
			this.FontSize = fontSize;
			this.Color = color;
			this.TextAlign = textAlign;
			this.FontWeight = fontWeight;
			this.ClickParam = clickParam;
			this.BackgroundColor = backgroundColor;
		}
	}
}